#include "DataStructure/Result/ElementalStrain/CONRODStrainData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator== (const CONRODStrainData& val1, const CONRODStrainData& val2)
{
    FIELD_COMPARE (m_eId)
    FIELD_COMPARE (m_A)
    FIELD_COMPARE (m_MSA)
    FIELD_COMPARE (m_T)
    FIELD_COMPARE (m_MST)
    FIELD_COMPARE (m_domainId)  // NOLINT(readability-simplify-boolean-expr)
    return true;
}

bool SG::DataStructure::Post::operator< (const CONRODStrainData& a, const CONRODStrainData& b)
{
    return a.m_eId < b.m_eId;
}
